home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cone.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_CONE_H = 1;
- include("real/objects/r3prim.js")
- include("oops/r3vector.js")
-
-
- var R3CLID_CONE = 173;
-
-
-
-
- R3CONEA_Center = 173501;
- function SetR3CONEA_Center(value) {
- R3Set(this.r3obj, R3CONEA_Center, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_Center() {
- return R3Get(this.r3obj, R3CONEA_Center, R3TID_VECTOR, 0);
- }
-
- R3CONEA_A = 173502;
- function SetR3CONEA_A(value) {
- R3Set(this.r3obj, R3CONEA_A, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_A() {
- return R3Get(this.r3obj, R3CONEA_A, R3TID_VECTOR, 0);
- }
-
- R3CONEA_B = 173503;
- function SetR3CONEA_B(value) {
- R3Set(this.r3obj, R3CONEA_B, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_B() {
- return R3Get(this.r3obj, R3CONEA_B, R3TID_VECTOR, 0);
- }
-
- R3CONEA_C = 173504;
- function SetR3CONEA_C(value) {
- R3Set(this.r3obj, R3CONEA_C, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_C() {
- return R3Get(this.r3obj, R3CONEA_C, R3TID_VECTOR, 0);
- }
-
- R3CONEA_P = 173505;
- function SetR3CONEA_P(value) {
- R3Set(this.r3obj, R3CONEA_P, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_P() {
- return R3Get(this.r3obj, R3CONEA_P, R3TID_VECTOR, 0);
- }
-
- R3CONEA_N = 173506;
- function SetR3CONEA_N(value) {
- R3Set(this.r3obj, R3CONEA_N, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_N() {
- return R3Get(this.r3obj, R3CONEA_N, R3TID_VECTOR, 0);
- }
-
- R3CONEA_M = 173507;
- function SetR3CONEA_M(value) {
- R3Set(this.r3obj, R3CONEA_M, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CONEA_M() {
- return R3Get(this.r3obj, R3CONEA_M, R3TID_VECTOR, 0);
- }
-
- R3CONEA_AS = 173508;
- function SetR3CONEA_AS(value) {
- R3Set(this.r3obj, R3CONEA_AS, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CONEA_AS() {
- return R3Get(this.r3obj, R3CONEA_AS, R3TID_FLOAT, 0);
- }
-
- R3CONEA_AE = 173509;
- function SetR3CONEA_AE(value) {
- R3Set(this.r3obj, R3CONEA_AE, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CONEA_AE() {
- return R3Get(this.r3obj, R3CONEA_AE, R3TID_FLOAT, 0);
- }
-
- R3CONEA_AS3D = 173510;
- function GetR3CONEA_AS3D() {
- return R3Get(this.r3obj, R3CONEA_AS3D, R3TID_VECTOR, 0);
- }
-
- R3CONEA_AE3D = 173511;
- function GetR3CONEA_AE3D() {
- return R3Get(this.r3obj, R3CONEA_AE3D, R3TID_VECTOR, 0);
- }
-
- R3CONEA_Infinite = 173512;
- function SetR3CONEA_Infinite(value) {
- R3Set(this.r3obj, R3CONEA_Infinite, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CONEA_Infinite() {
- return R3Get(this.r3obj, R3CONEA_Infinite, R3TID_INTEGER, 0);
- }
-
- R3CONEA_Sector = 173513;
- function SetR3CONEA_Sector(value) {
- R3Set(this.r3obj, R3CONEA_Sector, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CONEA_Sector() {
- return R3Get(this.r3obj, R3CONEA_Sector, R3TID_INTEGER, 0);
- }
-
- R3CONEA_Uncovered = 173514;
- function SetR3CONEA_Uncovered(value) {
- R3Set(this.r3obj, R3CONEA_Uncovered, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CONEA_Uncovered() {
- return R3Get(this.r3obj, R3CONEA_Uncovered, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Cone () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_CONE, arguments);
- }
- // Attributes
- this.GetCenter=GetR3CONEA_Center;
- this.SetCenter=SetR3CONEA_Center;
- this.GetA=GetR3CONEA_A;
- this.SetA=SetR3CONEA_A;
- this.GetB=GetR3CONEA_B;
- this.SetB=SetR3CONEA_B;
- this.GetC=GetR3CONEA_C;
- this.SetC=SetR3CONEA_C;
- this.GetP=GetR3CONEA_P;
- this.SetP=SetR3CONEA_P;
- this.GetN=GetR3CONEA_N;
- this.SetN=SetR3CONEA_N;
- this.GetM=GetR3CONEA_M;
- this.SetM=SetR3CONEA_M;
- this.GetAS=GetR3CONEA_AS;
- this.SetAS=SetR3CONEA_AS;
- this.GetAE=GetR3CONEA_AE;
- this.SetAE=SetR3CONEA_AE;
- this.GetAS3D=GetR3CONEA_AS3D;
- this.GetAE3D=GetR3CONEA_AE3D;
- this.GetInfinite=GetR3CONEA_Infinite;
- this.SetInfinite=SetR3CONEA_Infinite;
- this.GetSector=GetR3CONEA_Sector;
- this.SetSector=SetR3CONEA_Sector;
- this.GetUncovered=GetR3CONEA_Uncovered;
- this.SetUncovered=SetR3CONEA_Uncovered;
- }
-
- r3Cone.prototype=new r3Primitive;
- // r3cone.h_H